package com.kayt.cyberBar.system.business.service;

import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.common.base.BaseVO;
import com.kayt.cyberBar.system.business.entity.vo.LoginVO;
import com.kayt.cyberBar.system.business.entity.vo.PermissionVO;
import com.kayt.cyberBar.system.business.entity.vo.SystemMenuVO;

import javax.ws.rs.*;

/**
 * Description
 *
 * @author Kevin
 * @since 12/27/2017 22:04
 */
@Path("/")
@Produces({"application/json", "application/xml"})
@Consumes({"application/json"})
public interface ILoginService {
    @POST
    @Path("login.do")
    ServerResponse login(LoginVO vo);
    @POST
    @Path("loginOut.do")
    ServerResponse loginOut(BaseVO vo);
    @POST
    @Path("getCompetence.do")
    ServerResponse getCompetence(PermissionVO vo);
    @POST
    @Path("getMenu.do")
    ServerResponse getMenu(PermissionVO vo);

}
